package com.financing.platform.service.impl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundAwkwardnessDao; 
import com.financing.platform.dto.FpFundAwkwardnessDTO;
import com.financing.platform.service.IFpFundAwkwardnessService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundAwkwardnessService")
public class FpFundAwkwardnessServiceImpl implements IFpFundAwkwardnessService {
    @Autowired
	private IFpFundAwkwardnessDao fpFundAwkwardnessDao;
	
	
	@Override
	public FpFundAwkwardnessDTO getFpFundAwkwardness(Integer id) {
		return fpFundAwkwardnessDao.getFpFundAwkwardness(id);
	}
	
	
	@Override
	public Integer insertFpFundAwkwardness(FpFundAwkwardnessDTO fpFundAwkwardness) {
		return (Integer) fpFundAwkwardnessDao.insertFpFundAwkwardness(fpFundAwkwardness);
	}

	
	@Override
	public Integer updateFpFundAwkwardness(FpFundAwkwardnessDTO fpFundAwkwardness) {
		return (Integer) fpFundAwkwardnessDao.updateFpFundAwkwardness(fpFundAwkwardness);
	}
	
	@Override
	public Integer delFpFundAwkwardness(Integer id) {
		return fpFundAwkwardnessDao.delFpFundAwkwardness(id);
	}
	
	@Override
	public List<FpFundAwkwardnessDTO> listFpFundAwkwardness(FpFundAwkwardnessDTO dto) {
		return fpFundAwkwardnessDao.listFpFundAwkwardness(dto);
	}


	@Override
	public Integer countFpFundAwkwardness(FpFundAwkwardnessDTO dto) {
		return fpFundAwkwardnessDao.countFpFundAwkwardness(dto);
	}
	

}
